<? session_start(); ?>



<HTML>
<HEAD>
<TITLE>template</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<style type="text/css">
<!--
.style1 {
	color: #FFFFFF;
	font-weight: bold;
}
.style2 {
	color: #0000FF;
	font-weight: bold;
}
#Layer4 {
	position:absolute;
	left:168px;
	top:-4px;
	width:269px;
	height:32px;
	z-index:4;
}
-->
</style>
</HEAD>
<BODY BGCOLOR=#660000 LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<!-- ImageReady Slices (template.psd) -->
<div id="Layer1" style="position:absolute; left:702px; top:114px; width:207px; height:73px; z-index:1">
  <form name="form1" method="post" action="login.php">
        
    <table width="197" height="66" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr> 
            <td width="88" height="22"><span class="style1">Username :</span></td>
            <td width="114"><input name="username" type="text" size="13"></td>
      </tr>
          <tr> 
            <td height="22"><span class="style1">Password :</span></td>
            <td><p> 
                <input name="password" type="password" size="13">
              </p></td>
          </tr>
          <tr>
            <td height="22"><a href="userregister.html" target="I2" class="style1">Register </a></td>
            
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="submit" name="Submit2" value="Log In"></td>
          </tr>
    </table>

</form>
  <div align="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
</div>
<div id="Layer2" style="position:absolute; left:395px; top:79px; width:148px; height:24px; z-index:2"><strong><font color="#FFFFFF">&gt;&gt;</font> 
  <a href="../Admin/admin.php"><font color="#FFFFFF">Admin Site</font></a></strong></div>
<? if($username=$_SESSION['username']){?>
<div id="Layer3" style="position:absolute; left:825px; top:6px; width:115px; height:26px; z-index:3"><strong><a href="logout.php"><font color="#FFFF00" size="5">LogOut</font></a><font size="5"></font></font></strong></div>
<div id="Layer4"><font color="#FFFF00" size="6">Welcome <? echo $username ;
}?></font></div>
<font color="#FFFF00" size="6">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></strong></font> </font> 
<TABLE WIDTH=770 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0>
	<TR>
		<TD COLSPAN=16>
			<IMG SRC="images/mbay_01.gif" WIDTH=770 HEIGHT=39 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=39 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=8 ROWSPAN=2>
			<IMG SRC="images/mbay_02.gif" WIDTH=330 HEIGHT=43 ALT=""></TD>
		<TD>
			<IMG SRC="images/mbay_03.gif" ALT="" WIDTH=95 HEIGHT=22 border="0" usemap="#Map4"></TD>
		<TD COLSPAN=2>
			<IMG SRC="images/mbay_04.gif" ALT="" WIDTH=93 HEIGHT=22 border="0" usemap="#Map3"></TD>
		<TD COLSPAN=2>
			<IMG SRC="images/mbay_05.gif" ALT="" WIDTH=95 HEIGHT=22 border="0" usemap="#Map2"></TD>
		<TD>
			<IMG SRC="images/mbay_06.gif" ALT="" WIDTH=91 HEIGHT=22 border="0" usemap="#Map"></TD>
		<TD COLSPAN=2 ROWSPAN=2>
			<IMG SRC="images/mbay_07.gif" WIDTH=66 HEIGHT=43 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=22 ALT=""></TD>
	</TR>
	<TR>
		<TD>
			<IMG SRC="images/mbay_08.gif" WIDTH=95 HEIGHT=21 ALT=""></TD>
		<TD COLSPAN=2>
			<IMG SRC="images/mbay_09.gif" WIDTH=93 HEIGHT=21 ALT=""></TD>
		<TD COLSPAN=2>
			<IMG SRC="images/mbay_10.gif" WIDTH=95 HEIGHT=21 ALT=""></TD>
		<TD>
			<IMG SRC="images/mbay_11.gif" WIDTH=91 HEIGHT=21 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=21 ALT=""></TD>
	</TR>
	<TR>
		
    <TD COLSPAN=12> <img src="images/mbay_12.gif" width="545" height="87" border="0" usemap="#Map5"></TD>
		<TD COLSPAN=4>
			<IMG SRC="images/mbay_13.gif" WIDTH=225 HEIGHT=87 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=87 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=16>
			<IMG SRC="images/mbay_14.gif" WIDTH=770 HEIGHT=6 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=6 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=4 ROWSPAN=2>
			<IMG SRC="images/mbay_15.gif" WIDTH=251 HEIGHT=54 ALT=""></TD>
		<TD COLSPAN=2>
			<IMG SRC="images/mbay_16.gif" WIDTH=16 HEIGHT=45 ALT=""></TD>
		<TD COLSPAN=10 ROWSPAN=2>
			<IMG SRC="images/mbay_17.gif" WIDTH=503 HEIGHT=54 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=45 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=2 ROWSPAN=5>
			<IMG SRC="images/mbay_18.gif" WIDTH=16 HEIGHT=331 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=9 ALT=""></TD>
	</TR>
	<TR>
		<TD>
			<IMG SRC="images/mbay_19.gif" WIDTH=35 HEIGHT=106 ALT=""></TD>
		
    <TD COLSPAN=2 background="images/mbay_20.gif"><p><font color="#FFFFFF"><strong>-Annual 
        Dinnner-29 nov'08<br>
        -Trip to Langkawi<br>
        -Special Gift</strong></font><font color="#FFFFFF"><strong><br>
        -CO Open house<br>
        </strong></font></p>
      </TD>
		<TD>
			<IMG SRC="images/mbay_21.gif" WIDTH=23 HEIGHT=106 ALT=""></TD>
		<TD ROWSPAN=4>
			<IMG SRC="images/mbay_22.gif" WIDTH=26 HEIGHT=322 ALT=""></TD>
		
    <TD COLSPAN=8 ROWSPAN=4 background="images/mbay_23.gif">&nbsp; <IFRAME 
      style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; SCROLLBAR-FACE-COLOR: #00076d; Z-INDEX: 1; PADDING-BOTTOM: 0px; SCROLLBAR-HIGHLIGHT-COLOR: #00077e; SCROLLBAR-SHADOW-COLOR: #00064f; SCROLLBAR-3DLIGHT-COLOR: #3300cc; SCROLLBAR-ARROW-COLOR: #a20000; SCROLLBAR-TRACK-COLOR: #00065b; SCROLLBAR-DARKSHADOW-COLOR: #000000" 
      border=0 name=I2 marginWidth=1 marginHeight=1 
      src="Welcome.html" frameBorder=0 width=420 
      height=315> </IFRAME></TD>
		<TD ROWSPAN=4>
			<IMG SRC="images/mbay_24.gif" WIDTH=41 HEIGHT=322 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=106 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=4>
			<IMG SRC="images/mbay_25.gif" WIDTH=251 HEIGHT=30 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=30 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=4><img src="images/mbay_26.gif" width=251 height=45 alt=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=45 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=2>
			<IMG SRC="images/mbay_27.gif" WIDTH=39 HEIGHT=141 ALT=""></TD>
		<TD bgcolor="#FFFFFF"><MARQUEE onmouseover=this.stop() 
                                                           
onmouseout=this.start() scrollAmount=1 
                              scrollDelay=50 direction=up width=185 height=115> 
                                        <P align=left>          <FONT color=yellow><AL>
                                        <P align=left>                                        
                                        <P align=left>                                        
                                        <P align=center class="style2">NEW PROMOTION ! GREAT DEALS
          <p align="center"><img src="MBAY PICTURE/c2.jpg" width="118" height="118"></p>
  <p align="center"><img src="MBAY PICTURE/2.jpg" width="125" height="83"></p>
  <p align="center"><img src="MBAY PICTURE/c2.jpg" width="118" height="118"></p>
          </MARQUEE>      </TD>
		<TD>
			<IMG SRC="images/mbay_29.gif" WIDTH=23 HEIGHT=141 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=141 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=4>
			<IMG SRC="images/mbay_30.gif" WIDTH=251 HEIGHT=31 ALT=""></TD>
		<TD COLSPAN=2>
			<IMG SRC="images/mbay_31.gif" WIDTH=16 HEIGHT=31 ALT=""></TD>
		<TD COLSPAN=10>
			<IMG SRC="images/mbay_32.gif" WIDTH=503 HEIGHT=31 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=31 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=5>
			<IMG SRC="images/mbay_33.gif" WIDTH=257 HEIGHT=59 ALT=""></TD>
		
    <TD COLSPAN=5> <IMG SRC="images/mbay_34.gif" ALT="" WIDTH=256 HEIGHT=59 border="0" usemap="#Map6"></TD>
		<TD COLSPAN=6>
			<IMG SRC="images/mbay_35.gif" WIDTH=257 HEIGHT=59 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=59 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=16>
			<IMG SRC="images/mbay_36.gif" WIDTH=770 HEIGHT=9 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=9 ALT=""></TD>
	</TR>
	<TR>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=35 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=4 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=189 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=23 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=6 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=10 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=26 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=37 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=95 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=88 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=5 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=27 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=68 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=91 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=25 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=41 HEIGHT=1 ALT=""></TD>
		<TD></TD>
	</TR>
</TABLE>
<!-- End ImageReady Slices -->




<map name="Map"><area shape="rect" coords="12,-14,85,15" href="Contact.html" target="I2"></map>
<map name="Map2"><area shape="rect" coords="17,-9,84,12" href="aboutUS.html" target="I2"></map>
<map name="Map3"><area shape="rect" coords="13,-12,83,13" href="services.html" target="I2"></map>
<map name="Map4">
<area shape="rect" coords="17,-14,81,11" href="Welcome.html" target="I2">
</map>
<?php if($_SESSION['username']){ ?>
<map name="Map5">
  <area shape="circle" coords="266,64,23" href="../Admin/listProduct.php" target="I2">
  <area shape="circle" coords="345,64,25" href="../Admin/searchProduct.php" target="I2">
  <area shape="circle" coords="419,64,28" href="reservationForm.php" target="I2">
</map>
<? }?>
<map name="Map6">
  <area shape="rect" coords="16,13,58,38" href="Welcome.html" target="I2">
  <area shape="rect" coords="66,14,117,38" href="services.html" target="I2">
  <area shape="rect" coords="125,12,178,38" href="aboutUS.html" target="I2">
  <area shape="rect" coords="184,16,239,38" href="Contact.html" target="I2">
</map>
</BODY>
</HTML>